#!/bin/bash

proj_root=$(dirname $(dirname $(dirname $(realpath $0))))
echo "proj_root: $proj_root"
cd $proj_root

rm -rf .devcontainer
cp -a .devcontainer_wh .devcontainer

echo "忽略 .devcontainer 代码变更"
find .devcontainer -type f -exec git update-index --assume-unchanged {} \;
